.completion-message {
  text-align: center;
  font-weight: 700;
  font-size: 1.5rem;
}

.completion-modal-body {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.completion-challenge-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.completion-success-icon {
  width: 200px;
  height: 200px;
  transform: scale(1.5);
  opacity: 0;
  animation: success-icon-animation 150ms linear 100ms forwards;
}

@keyframes success-icon-animation {
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.completion-block-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.completion-block-name {
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.progress-bar-wrap {
  width: 400px;
  height: 50px;
  position: relative;
}

.progress-bar-background {
  width: 400px;
  height: 50px;
  color: var(--primary-color);
  border: 3px solid var(--primary-color);
  background-color: var(--quaternary-background);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
}

.progress-bar-percent {
  width: 0;
  overflow: hidden;
  position: relative;
  background-color: var(--primary-color);
  transition: width 0ms linear;
}

.progress-bar-foreground {
  color: var(--primary-background);
  width: 400px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 991px) {
  .challenge-success-modal .btn-lg {
    font-size: 16px;
  }

  .completion-modal-body {
    min-height: 340px;
  }

  .progress-bar-wrap,
  .progress-bar-background,
  .progress-bar-foreground {
    width: 260px;
    height: 40px;
  }

  .completion-success-icon {
    width: 160px;
    height: 160px;
  }

  .completion-message {
    font-weight: 600;
    font-size: 1.2rem;
  }

  .completion-challenge-name,
  .completion-block-name {
    font-weight: 400;
    font-size: 1rem;
  }
}
